package com.qs.education.service;

import com.qs.education.bean.api.PageBean;
import com.qs.education.bean.api.ResponseListBean;
import com.qs.education.bean.beans.EducationTeacherResponse;
import com.qs.education.bean.entity.EducationTeacher;

/**
 * 
 * @class ITeacherService
 * @author Jason
 * @description
 * @date Nov 6, 2018 9:23:11 AM
 */
public interface ITeacherService {

	

	/**
	 * 查询所有符合条件的老师
	 * @Description
	 * @author Jason
	 * @date Nov 20, 2018
	 * @param teacher
	 * @param currentPage
	 * @param pageSize
	 * @return
	 */
	PageBean getEducationTeacher(EducationTeacher teacher, Integer currentPage, Integer pageSize);

	/**
	 * @Description 根据ID删除老师
	 * @author Jason
	 * @date Nov 6, 2018
	 * @param teacherId
	 * @return
	 */
	EducationTeacherResponse deleteTeacherById(Integer teacherId);

	/**
	 * 
	 * @Description 根据ID查询老师
	 * @author Jason
	 * @date Nov 7, 2018
	 * @param teacherId
	 * @return
	 */
	EducationTeacherResponse findTeacherById(Integer teacherId);

	/**
	 * 
	 * @Description 修改老师信息
	 * @author Jason
	 * @date Nov 7, 2018
	 * @param educationTeacher
	 * @return
	 */
	EducationTeacherResponse updateTeacher(EducationTeacher educationTeacher);

	/**
	 * @Description 添加老师信息
	 * @author Jason
	 * @date Nov 9, 2018
	 * @param educationTeacher
	 * @return
	 */
	EducationTeacherResponse addTeacher(EducationTeacher educationTeacher);

	/**
	 * @Description 根据条件搜索老师
	 * @author Jason
	 * @date Nov 12, 2018
	 * @param teacher
	 * @return
	 */
	ResponseListBean<EducationTeacher> findTeacherByCondition(EducationTeacher teacher);

}
